package dmp.topk;

import org.apache.commons.cli.BasicParser;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.hadoop.util.ToolRunner;

import dmp.llapi.util.FlexApiTask;

public class JobManager {
	public static void main(String[] args) throws Exception {
			int res = ToolRunner.run(new CountTask(), args);
			if (res == 0) {
				ToolRunner.run(new TopkTask(), args);
			}
	}
}
